import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DemoNgZorroAntdModule } from '../../NG-ZORRO/ng-zorro-antd.module';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { AlertFill } from '@ant-design/icons-angular/icons';

import { BusinessCircleRoutingModule } from './business-circle-routing.module';

import {
  CircleStateStatusPipe,
  IdentityStatusPipe,
  UserIdentityStatusPipe,
  ReportStatusPipe,
  PublishIdentityPipe,
  PostsTypeStatusPipe,
  ProblemTypeStatusPipe
} from './status.pipe';
/**
 * 导入 EditorModule
 */
import { EditorModule } from '@tinymce/tinymce-angular';

import { IconDefinition } from '@ant-design/icons-angular';
import { CircleManageComponent } from './circle-manage/circle-manage.component';
import { PostTypeComponent } from './post-type/post-type.component';
import { CirclePlateComponent } from './circle-plate/circle-plate.component';
import { ReportManageComponent } from './report-manage/report-manage.component';
import { ReportRecordComponent } from './report-record/report-record.component';
import { PostsManageComponent } from './posts-manage/posts-manage.component';
import { PostsDetailsComponent } from './posts-details/posts-details.component';
import { PostsReleaseComponent } from './posts-release/posts-release.component';
const icons: IconDefinition[] = [AlertFill];
@NgModule({
  declarations: [
    CircleManageComponent,
    PostTypeComponent,
    CirclePlateComponent,
    ReportManageComponent,
    ReportRecordComponent,
    PostsManageComponent,
    PostsDetailsComponent,
    PostsReleaseComponent,
    CircleStateStatusPipe,
    IdentityStatusPipe,
    UserIdentityStatusPipe,
    ReportStatusPipe,
    PublishIdentityPipe,
    PostsTypeStatusPipe,
    ProblemTypeStatusPipe
  ],
  imports: [
    CommonModule,
    DemoNgZorroAntdModule,
    FormsModule,
    ReactiveFormsModule,
    EditorModule,
    NzIconModule.forRoot(icons),
    BusinessCircleRoutingModule
  ]
})
export class BusinessCircleModule { }
